package com.shenyi.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2019/03/03
 * @desc 网关路由启动类
 * @see
 * @since 1.0
 */
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@EnableZuulProxy
@EnableEurekaClient
@EnableWebSecurity
public class GatewayStartApplication {


    public static void main(String[] args) {
        SpringApplication.run(GatewayStartApplication.class);
    }
}
